//package com.sc.nft.dao;
//
//import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
//import com.sc.nft.entity.GoodsHitShelfBlacklist;
//import com.sc.nft.mapper.GoodsHitShelfBlacklistMapper;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.stereotype.Repository;
//
//@Slf4j
//@Repository
//public class GoodsHitShelfBlacklistDao extends ServiceImpl<GoodsHitShelfBlacklistMapper, GoodsHitShelfBlacklist> {
//
//    /**
//     * 获取当天用户是否在黑名单内
//     * @param userId
//     * @return
//     */
//    public Boolean userToDayCount(Long userId){
//        Integer userToDayCount = baseMapper.userToDayCount(userId);
//        if (userToDayCount>0) {
//            return Boolean.TRUE;
//        }
//        return Boolean.FALSE;
//    }
//}
